package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.ExpertActivityRecord;
import org.hxyjs.entity.ExpertActivityRecordExample;
import org.hxyjs.entity.ExpertActivityRecord;

public interface ExpertActivityRecordMapper {
    long countByExample(ExpertActivityRecordExample example);

    int deleteByExample(ExpertActivityRecordExample example);

    int deleteByPrimaryKey(String exarno);

    int insert(ExpertActivityRecord record);

    int insertSelective(ExpertActivityRecord record);

    String getMaxExarno();

    List<ExpertActivityRecord> selectByExample(ExpertActivityRecordExample example);

    ExpertActivityRecord selectByPrimaryKey(String exarno);

    List<ExpertActivityRecord> getExpertActivityRecordByPage(Map<String, Object> map);

    int updateByExampleSelective(@Param("record") ExpertActivityRecord record, @Param("example") ExpertActivityRecordExample example);

    int updateByExample(@Param("record") ExpertActivityRecord record, @Param("example") ExpertActivityRecordExample example);

    int updateByPrimaryKeySelective(ExpertActivityRecord record);

    int updateByPrimaryKey(ExpertActivityRecord record);
}